<template>
    <div class="icon-item" :style="{backgroundColor:bgColor}">
        <div class="tip">{{tip}}</div>
        <span :class="iconClass"></span>
    </div>
</template>
<script>
export default {
    props:{
        tip:String,
        iconClass:String,
        bgColor:String
    }    
}
</script>
<style>
.icon-item{
    width:100px;
    height:100px;
    border-radius: 50%;
    text-align: center;
    line-height: 100px;
}
.test{
    color:red;
}
</style>

